<?php

class PortfolioController extends Zend_Controller_Action
{

    public function init()
    {
        $this->_helper->layout->setLayout('index');
        $this->view->PageText='!Lorem ipsum dolor sit amet, consectetur adipisicing elit.'; //Текст в заголовку сторінки
        $this->portfolioDb=new Default_Model_Table_Portfolio();
    }

    public function indexAction()
    {      //  Zend_Debug::dump($this->portfolioDb->getContent());exit();
        $this->view->PortfolioContent=$this->portfolioDb->getContent();
    }


}

